package com.monitor.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 客户车辆表
 * </p>
 *
 * @author LX
 * @since 2018-09-05
 */
@TableName("erp_customer_car")
public class ErpCustomerCar extends Model<ErpCustomerCar> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 登记日期
     */
    @TableField("car_dj_date")
    private String carDjDate;
    /**
     * 服务中心
     */
    @TableField("car_service_centre")
    private String carServiceCentre;
    /**
     * 里程表数
     */
    @TableField("car_mileage")
    private String carMileage;
    /**
     * 购置日期
     */
    @TableField("car_gz_date")
    private String carGzDate;
    /**
     * 车辆牌号
     */
    @TableField("car_plate")
    private String carPlate;
    /**
     * 车辆品牌
     */
    @TableField("car_brand")
    private String carBrand;
    /**
     * 车辆型号
     */
    @TableField("car_model")
    private String carModel;
    /**
     * 车架/底盘号
     */
    @TableField("car_frame")
    private String carFrame;
    /**
     * 驱动方式
     */
    @TableField("car_drive")
    private String carDrive;
    /**
     * 车轮轴数
     */
    @TableField("car_wheel")
    private String carWheel;
    /**
     * 发动机号
     */
    @TableField("car_engine")
    private String carEngine;
    /**
     * 功率
     */
    @TableField("car_power")
    private String carPower;
    /**
     * 承载
     */
    @TableField("car_load")
    private String carLoad;
    /**
     * 车辆颜色
     */
    @TableField("car_color1")
    private String carColor1;
    @TableField("car_color2")
    private String carColor2;
    /**
     * 车辆类型
     */
    @TableField("car_type1")
    private String carType1;
    @TableField("car_type2")
    private String carType2;
    @TableField("car_type3")
    private Integer carType3;
    /**
     * 车辆自重
     */
    @TableField("car_weight")
    private String carWeight;
    /**
     * 轮辋规格
     */
    @TableField("car_rims")
    private String carRims;
    /**
     * 轮辋型号
     */
    @TableField("car_rim_model")
    private String carRimModel;
    /**
     * 轮辋类型
     */
    @TableField("car_rim_type")
    private String carRimType;
    /**
     * 制动类型
     */
    @TableField("car_braking_type")
    private String carBrakingType;
    /**
     * 悬架类型
     */
    @TableField("car_suspension_type")
    private String carSuspensionType;
    /**
     * 运营类型
     */
    @TableField("car_operation_type")
    private String carOperationType;
    /**
     * 用途
     */
    @TableField("car_use")
    private String carUse;
    /**
     * 前桥提升
     */
    @TableField("car_front_axle")
    private String carFrontAxle;
    /**
     * 后桥提升
     */
    @TableField("car_rear_axle")
    private String carRearAxle;
    /**
     * 随动转向
     */
    @TableField("car_turn")
    private String carTurn;
    /**
     * 其他
     */
    @TableField("car_othrt")
    private String carOthrt;
    /**
     * 注册日期
     */
    @TableField("car_operate_date")
    private String carOperateDate;
    /**
     * 运营状态
     */
    @TableField("car_operate_type")
    private String carOperateType;
    /**
     * 调离至
     */
    @TableField("car_transfer")
    private String carTransfer;
    /**
     * 生产日期
     */
    @TableField("car_add_date")
    private String carAddDate;
    private String monitoring;
    /**
     * 录入人
     */
    @TableField("input_attn")
    private String inputAttn;
    @TableField("car_cqsy")
    private String carCqsy;
    /**
     * 自编车号
     */
    @TableField("car_number")
    private String carNumber;
    /**
     * 备注
     */
    @TableField("bz")
    private String bz;

    /**
     * 车辆识别号
     */
    @TableField("car_shi_bie_number")
    private  String carShiBieNumber;

    /**
     * 产权所有
     */
    @TableField("chan_quan")
    private  String chanQuan;

    /**
     * 变速箱号
     */
    @TableField("bian_su_number")
    private  String bianSuNumber;

    /**
     * 行驶证号
     */
    @TableField("xing_shi_number")
    private  String xingShiNumber;

    /**
     * 乘员尺寸
     */
    @TableField("crew_size")
    private  String     crewSize;

    /**
     *关联车辆
     */
    @TableField("gl_car_id")
    private String glCarId;
    
    @TableField("gh_time")
    private String ghTime;
    /**
     * 销售维修状态,0是未完成, 1是已完成,
     */
    @TableField("state")
    private Integer state;

    public Integer getState() {
        return state;
    }
    public void setState(Integer state) {
        this.state = state;
    }

    private  transient  Integer custId;

    private transient String custName;

    private transient  Integer cusCode;

    
    public String getGhTime() {
		return ghTime;
	}

	public void setGhTime(String ghTime) {
		this.ghTime = ghTime;
	}

	public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }

    public String getCustName() {
        return custName;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public Integer getCusCode() {
        return cusCode;
    }

    public void setCusCode(Integer cusCode) {
        this.cusCode = cusCode;
    }

    

    public String getGlCarId() {
		return glCarId;
	}

	public void setGlCarId(String glCarId) {
		this.glCarId = glCarId;
	}

	public String getCrewSize() {
        return crewSize;
    }

    public void setCrewSize(String crewSize) {
        this.crewSize = crewSize;
    }

    public String getBianSuNumber() {
        return bianSuNumber;
    }

    public void setBianSuNumber(String bianSuNumber) {
        this.bianSuNumber = bianSuNumber;
    }

    public String getXingShiNumber() {
        return xingShiNumber;
    }

    public void setXingShiNumber(String xingShiNumber) {
        this.xingShiNumber = xingShiNumber;
    }

    private transient Double youOne;//左一轮
    private transient Double youTwo;//左二轮
    private transient Double zuoOne;//右一轮
    private transient Double zuoTwo;//右二轮
    private transient Double beitai;//备胎

    public String getChanQuan() {
        return chanQuan;
    }

    public void setChanQuan(String chanQuan) {
        this.chanQuan = chanQuan;
    }

    public String getCarShiBieNumber() {
        return carShiBieNumber;
    }

    public void setCarShiBieNumber(String carShiBieNumber) {
        this.carShiBieNumber = carShiBieNumber;
    }

    public Double getYouOne() {
        return youOne;
    }

    public void setYouOne(Double youOne) {
        this.youOne = youOne;
    }

    public Double getYouTwo() {
        return youTwo;
    }

    public void setYouTwo(Double youTwo) {
        this.youTwo = youTwo;
    }

    public Double getZuoOne() {
        return zuoOne;
    }

    public void setZuoOne(Double zuoOne) {
        this.zuoOne = zuoOne;
    }

    public Double getZuoTwo() {
        return zuoTwo;
    }

    public void setZuoTwo(Double zuoTwo) {
        this.zuoTwo = zuoTwo;
    }

    public Double getBeitai() {
        return beitai;
    }

    public void setBeitai(Double beitai) {
        this.beitai = beitai;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getCarDjDate() {
        return carDjDate;
    }

    public void setCarDjDate(String carDjDate) {
        this.carDjDate = carDjDate;
    }

    public String getCarServiceCentre() {
        return carServiceCentre;
    }

    public void setCarServiceCentre(String carServiceCentre) {
        this.carServiceCentre = carServiceCentre;
    }

    public String getCarMileage() {
        return carMileage;
    }

    public void setCarMileage(String carMileage) {
        this.carMileage = carMileage;
    }

    public String getCarGzDate() {
        return carGzDate;
    }

    public void setCarGzDate(String carGzDate) {
        this.carGzDate = carGzDate;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public String getCarBrand() {
        return carBrand;
    }

    public void setCarBrand(String carBrand) {
        this.carBrand = carBrand;
    }

    public String getCarModel() {
        return carModel;
    }

    public void setCarModel(String carModel) {
        this.carModel = carModel;
    }

    public String getCarFrame() {
        return carFrame;
    }

    public void setCarFrame(String carFrame) {
        this.carFrame = carFrame;
    }

    public String getCarDrive() {
        return carDrive;
    }

    public void setCarDrive(String carDrive) {
        this.carDrive = carDrive;
    }

    public String getCarWheel() {
        return carWheel;
    }

    public void setCarWheel(String carWheel) {
        this.carWheel = carWheel;
    }

    public String getCarEngine() {
        return carEngine;
    }

    public void setCarEngine(String carEngine) {
        this.carEngine = carEngine;
    }

    public String getCarPower() {
        return carPower;
    }

    public void setCarPower(String carPower) {
        this.carPower = carPower;
    }

    public String getCarLoad() {
        return carLoad;
    }

    public void setCarLoad(String carLoad) {
        this.carLoad = carLoad;
    }

    public String getCarColor1() {
        return carColor1;
    }

    public void setCarColor1(String carColor1) {
        this.carColor1 = carColor1;
    }

    public String getCarColor2() {
        return carColor2;
    }

    public void setCarColor2(String carColor2) {
        this.carColor2 = carColor2;
    }

    public String getCarType1() {
        return carType1;
    }

    public void setCarType1(String carType1) {
        this.carType1 = carType1;
    }

    public String getCarType2() {
        return carType2;
    }

    public void setCarType2(String carType2) {
        this.carType2 = carType2;
    }

    public String getCarWeight() {
        return carWeight;
    }

    public void setCarWeight(String carWeight) {
        this.carWeight = carWeight;
    }

    public String getCarRims() {
        return carRims;
    }

    public void setCarRims(String carRims) {
        this.carRims = carRims;
    }

    public String getCarRimModel() {
        return carRimModel;
    }

    public void setCarRimModel(String carRimModel) {
        this.carRimModel = carRimModel;
    }

    public String getCarRimType() {
        return carRimType;
    }

    public void setCarRimType(String carRimType) {
        this.carRimType = carRimType;
    }

    public String getCarBrakingType() {
        return carBrakingType;
    }

    public void setCarBrakingType(String carBrakingType) {
        this.carBrakingType = carBrakingType;
    }

    public String getCarSuspensionType() {
        return carSuspensionType;
    }

    public void setCarSuspensionType(String carSuspensionType) {
        this.carSuspensionType = carSuspensionType;
    }

    public String getCarOperationType() {
        return carOperationType;
    }

    public void setCarOperationType(String carOperationType) {
        this.carOperationType = carOperationType;
    }

    public String getCarUse() {
        return carUse;
    }

    public void setCarUse(String carUse) {
        this.carUse = carUse;
    }

    public String getCarFrontAxle() {
        return carFrontAxle;
    }

    public void setCarFrontAxle(String carFrontAxle) {
        this.carFrontAxle = carFrontAxle;
    }

    public String getCarRearAxle() {
        return carRearAxle;
    }

    public void setCarRearAxle(String carRearAxle) {
        this.carRearAxle = carRearAxle;
    }

    public String getCarTurn() {
        return carTurn;
    }

    public void setCarTurn(String carTurn) {
        this.carTurn = carTurn;
    }

    public String getCarOthrt() {
        return carOthrt;
    }

    public void setCarOthrt(String carOthrt) {
        this.carOthrt = carOthrt;
    }

    public String getCarOperateDate() {
        return carOperateDate;
    }

    public void setCarOperateDate(String carOperateDate) {
        this.carOperateDate = carOperateDate;
    }

    public String getCarOperateType() {
        return carOperateType;
    }

    public void setCarOperateType(String carOperateType) {
        this.carOperateType = carOperateType;
    }

    public String getCarTransfer() {
        return carTransfer;
    }

    public void setCarTransfer(String carTransfer) {
        this.carTransfer = carTransfer;
    }

    public String getCarAddDate() {
        return carAddDate;
    }

    public void setCarAddDate(String carAddDate) {
        this.carAddDate = carAddDate;
    }

    public String getMonitoring() {
        return monitoring;
    }

    public void setMonitoring(String monitoring) {
        this.monitoring = monitoring;
    }

    public String getInputAttn() {
        return inputAttn;
    }

    public void setInputAttn(String inputAttn) {
        this.inputAttn = inputAttn;
    }

    public String getCarCqsy() {
        return carCqsy;
    }

    public void setCarCqsy(String carCqsy) {
        this.carCqsy = carCqsy;
    }

    public String getCarNumber() {
        return carNumber;
    }

    public void setCarNumber(String carNumber) {
        this.carNumber = carNumber;
    }
    

	public Integer getCarType3() {
		return carType3;
	}

	public void setCarType3(Integer carType3) {
		this.carType3 = carType3;
	}

	@Override
    protected Serializable pkVal() {
        return this.id;
    }
	
	

    public String getBz() {
		return bz;
	}

	public void setBz(String bz) {
		this.bz = bz;
	}

	@Override
    public String toString() {
        return "ErpCustomerCar{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", carDjDate=" + carDjDate +
        ", carServiceCentre=" + carServiceCentre +
        ", carMileage=" + carMileage +
        ", carGzDate=" + carGzDate +
        ", carPlate=" + carPlate +
        ", carBrand=" + carBrand +
        ", carModel=" + carModel +
        ", carFrame=" + carFrame +
        ", carDrive=" + carDrive +
        ", carWheel=" + carWheel +
        ", carEngine=" + carEngine +
        ", carPower=" + carPower +
        ", carLoad=" + carLoad +
        ", carColor1=" + carColor1 +
        ", carColor2=" + carColor2 +
        ", carType1=" + carType1 +
        ", carType2=" + carType2 +
        ", carType3=" + carType3 +
        ", carWeight=" + carWeight +
        ", carRims=" + carRims +
        ", carRimModel=" + carRimModel +
        ", carRimType=" + carRimType +
        ", carBrakingType=" + carBrakingType +
        ", carSuspensionType=" + carSuspensionType +
        ", carOperationType=" + carOperationType +
        ", carUse=" + carUse +
        ", carFrontAxle=" + carFrontAxle +
        ", carRearAxle=" + carRearAxle +
        ", carTurn=" + carTurn +
        ", carOthrt=" + carOthrt +
        ", carOperateDate=" + carOperateDate +
        ", carOperateType=" + carOperateType +
        ", carTransfer=" + carTransfer +
        ", carAddDate=" + carAddDate +
        ", monitoring=" + monitoring +
        ", inputAttn=" + inputAttn +
        ", carCqsy=" + carCqsy +
        ", carNumber=" + carNumber +
        ", bz=" + bz +
        "}";
    }
}
